package com.wxy.demo;

/**
 * @author zzzzz
 * @create 09-19
 */
public class Demo {
    public static void main(String[] args) {
//        String rootPath = "D:\\JavaProject\\IdeaProjects\\WebDemo1\\target\\WebDemo1\\";
//        int index = rootPath.indexOf("target");
//        String sub = rootPath.substring(0, index);
//        String filePath = sub + "src\\main\\webapp\\files\\head\\";
//        System.out.println(filePath);

        String s = Long.toString((long) (Math.random() * Long.MAX_VALUE), 36);
        System.out.println((long) (Math.random() * Long.MAX_VALUE));
    }
}
